<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<table class="table table-hover table-bordered">
    <thead>
    <tr>
        <th class="text-center">序号</th>
        <th class="text-center">时间</th>
        <th class="text-center">收益行为</th>
        <th class="text-center">提现状态</th>
        <th class="text-center">金额(元)</th>
    </tr>
    </thead>
    <tbody>
        <tr th:if="${#lists.isEmpty(dataMap['list'])}">
            <td colspan="5">
                <div class="noDataTipsBox">
                    <p><span class="c-4e fs16">亲，还没有数据~~~</span></p>
                </div>
            </td>
        </tr>
        <tr th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="earning,status:${dataMap['list']}">
            <td class="text-center" th:text="${status.index}+1"></td>
            <td class="text-center">
                <span class="line">
                    <i class="fa fa-clock-o"></i>
                    <span th:text="${#strings.substring(earning['createTime'],0,16)}"></span></span>
            </td>
            <td class="text-center" th:text="${earning['user']['nickname']}+'的围观收益'">

            </td>
            <td class="text-navy text-center" th:text="${earning['status']} == 1 ? '未提现':'已提现'">
            </td>
            <td class="text-center"><i class="fa fa-yen"></i>
                <span th:text="${earning['amount']}"></span>
            </td>
        </tr>
    </tbody>
</table>
<!-- 分页，开始 -->
<div data-th-replace="layout/adminPage"></div>
<!-- 分页，结束 -->